<?php

/*
 * Copyright (C) Error: on line 4, column 33 in Templates/Licenses/license-gpl30.txt
  The string doesn't match the expected date/time format. The string to parse was: "7.7.2014". The expected format was: "MMM d, yyyy". CZDP01
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

namespace application\home;

if (!defined('SECURE') or SECURE <> 'XLKDZJRKWOSLCMG') : throw new Exception('Nemáte oprávnění přistupovat k souboru!');
endif;

/**
 * Description of modelhome
 *
 * @author CZDP01
 */

class home_model extends \application\common_model {

    public function title() {
        return $this->route[0].' | '.$this->route[1];
    }

    public function header() {
        return 'home - header';
    }

    public function navigation() {
        return 'home | audio | video | galerie | knihy | ostatní | kontakt';
    }

    public function info() {
        return 'Dnes je: ' .  date('j. n. Y', time());
    }

    public function userinfo() {
        return '> vše v pořádku...';
    }

    public function contents() {
        return 'home - contents ########## sdf fjejhhf hseufhejfijifjhfusfughuhguuhdndjngvjgrhnuvufvuhhhhiururhuguuhrrrrrrbhguhnrrrrrrruuugzčýčýáýatečtvečvhečuhtvečthvuiehtvečtelčzlzztýzihthrtuhguithihvhtteighhfhdfdhfherfhebfbbhfhedjsbnbnchhbfbsefbhbfbdsdbjfsfhshfsbfbjsefbfbbffhehensjakse maaho jak se';
    }

    public function aside() {
        return 'administrace';
    }

    public function bside() {
        return 'sharing menu';
    }

    public function navside() {
        return 'druhé navigační menu';
    }

    public function footer() {
        return '(c) 2014 vlasta81';
    }
}
